package com.seari.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.seari.bean.EventMessageBean;
import com.seari.mapper.StationEventMapper;
import com.seari.pojo.QueryEventMessage;
import com.seari.service.StationEventService;

@Service("stationEventService")
public class StationEventImpl implements StationEventService
{
	@Autowired
	private StationEventMapper stationEventMapper;

	@Override
	public List<EventMessageBean> getEventMessageByParams(QueryEventMessage queryEventMessage)
	{
		// TODO Auto-generated method stub
		return stationEventMapper.getEventMessageByParams(queryEventMessage);
	}

	@Override
	public String getPic(String alarmId)
	{
		// TODO Auto-generated method stub
		return stationEventMapper.getPic(alarmId);
	}


}
